import request from 'utils/request'

/**
 *  我的销售单列表
 * @param {*} params 
 * @returns 
 */
export const marketOrderList = (params)=>{
    return request({
        url:'/auth/shop/order/myMarketOrder',
        method:'get',
        params
    })
}

/**
 *  我的销售单详情
 * @param {*} params 
 * @returns 
 */
export const marketDetail = (params)=> {
    return request({
        url:'/auth/shop/order/myMarketDetails',
        method:'get',
        params
    }) 
}

/**
 *  查询订单
 * @param {*} params 
 * @returns 
 */
export const orderList = (params) => {
    return request({
        url:'/auth/shop/order/orderList',
        method:'GET',
        params
    })
}

/**
 *  查询套餐卡核销信息
 * @param {*} params 
 * @returns 
 */
export const piabjkProjectList = (params)=>{
    return request({
        url:'/auth/shop/order/piabjkProjectById',
        method:'GET',
        params
    })
}

/**
 *  核销套餐卡小项
 * @param {*} data 
 * @returns 
 */
export const cancelAffirm = (data)=>{
    return request({
        url:'/auth/shop/order/cancelAffirm',
        method:'POST',
        data
    })
}